package com.bestcem.xm.ticket.enums;

import lombok.Getter;
import lombok.ToString;

/**
 * ticketFlow 状态枚举
 *
 * @author XiaoYunSong <ys.xiao@idiaoyan.com>
 * @version v1.0
 * @date 2021/8/10 17:24
 */
@Getter
@ToString
public enum TicketFlowStatusEnum {
    /**
     * ENABLED
     */
    ENABLED("ENABLED", 0),
    /**
     * DISABLED
     */
    DISABLED("DISABLED", 1),
    /**
     * INVALID
     */
    INVALID("INVALID", 2),
    /**
     * DELETED
     */
    DELETED("DELETED", 3);

    private final String name;

    private final int index;

    TicketFlowStatusEnum(String name, int index) {
        this.name = name;
        this.index = index;
    }
}
